﻿using System;
using Akari.XaTouch.MMMaterialDesignSpinner;
using CoreGraphics;
using UIKit;

namespace MMMaterialDesignSpinner.Demo
{
	public partial class ViewController : UIViewController
	{
		protected ViewController(IntPtr handle) : base(handle)
		{
			// Note: this .ctor should not contain any initialization logic.
		}

		public override void ViewDidLoad()
		{
			base.ViewDidLoad();
			// Perform any additional setup after loading the view, typically from a nib.
			var s = new MaterialDesignSpinner(new CGRect(100, 100, 60, 60));

			View.AddSubview(s);
			s.StartAnimating();
		}

		public override void DidReceiveMemoryWarning()
		{
			base.DidReceiveMemoryWarning();
			// Release any cached data, images, etc that aren't in use.
		}
	}
}

